using UnityEngine;

[CreateAssetMenu(fileName = "New  SetMaxHPPotion", menuName = "Inventory/PowerUpItem/SetMaxHPPotion(增幅血量上限)")]
public class SetMaxHPPotion : PowerUpItem
{
    public SetMaxHPPotion()
    {
        maxhealthBoost = 10f;
    }

    public override void ApplyEffect(Player player)
    {
        base.ApplyEffect(player);
        Debug.Log($"玩家使用了{itemName}，HP上限增加了 {healthBoost} 点。");
    }
}